import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import router from './router/index.jsx'
import { RouterProvider } from 'react-router-dom'
// 引入淘宝flexible适配库
import 'amfe-flexible'
import { store } from './store/index.js'
import { Provider } from 'react-redux'

createRoot(document.getElementById('root')).render(
  <Provider store={store}>
    <StrictMode>
      <RouterProvider router={router}></RouterProvider>
    </StrictMode>
  </Provider>,
)
